package com.example.emqx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Mybatis表一对一查询
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MybatisOneForOne {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String roleName;
    private String remark;
    private int pid;
    private String name;
    private String code;
    private int type;
    private int deleteFlag;
}
